{template Public:Page:header}
<div class="container">
  <div class="row">
  
    {template Member:Index:sidebar}
    
    <div class="col-lg-10 well-col-pl-30">
      <div class="row">
            <div class="well">

                <h3>评价管理</h3>
                
                
                <table class="table table-striped table-bordered table-hover">
                <thead>
                    <tr>
                        <th>
                        	 ID
                        </th>
                        <th>
                        	 任务
                        </th>
                        <th>
                            发布时间
                        </th>
                        <th>
                           卖家
                        </th>
                        <th>
                        操作
                        </th>
                    </tr>
                </thead>
                <tbody>
                
                	{if !empty($list)}
                        {foreach $list $value}
                            <tr>
                            
                            	<td>
                                {echo $value['oid']}
                                </td>
                                
                           		<td>
                                    <a href="/task/{echo $value['id']}" target="_blank">{echo $value['id']} 号任务</a>
                                </td>
   
                                <td>
                                   {echo FormatDate("Y/m/d",$value['dateline'])}
                                </td>
                                  <td>
                                   {echo $value['seller_username']}
                                </td>
                                 <td>
                                {if $value['process']==1 && $value['buyer_is_evaluate']!=1}<a href="/buyer/evaluate/show/oid/{echo $value['oid']}" target="_blank" class="btn btn-default btn-xs">评价</a>{else}已评价{/if}
                                </td>
                            </tr>
                        {/foreach}
                    {/if}
                    
                </tbody>
            </table>
            
            {if $page}
            <p>
            <div class="dataTables_paginate paging_bootstrap text-right"><ul class="pagination">{echo $page}</ul></div>
            </p>
            {/if}    
            </div>
    </div>
  </div>
</div>
</div>

{template Public:Page:footer}